Welcome![Sign In][Sign Up]
Location:
Search - lexical and syntax analyzer

Search list

[ELanguagegrammaranalyse12222

Description: 进行语法的分析,与词法分析器共同构成一个程序的分析器,检查程序错误等-syntax analysis, and the lexical analyzer together constitute a process analyzers, error checking procedures
Platform: | Size: 15509 | Author: daniao | Hits:

[ELanguage词法分析Lex

Description: 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language function: 1)Extract all lexems from C Language source code 2)Examine the syntax errors of the program and provide the line number of error line and note 3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file.
Platform: | Size: 192513 | Author: 张永胜 | Hits:

[Windows Developgf2112gf

Description: VB代码集合·一个C语言分析器 .. ·生成Pascal语言.. ·Basic编译器源码.. ·一个基于C++的语法.. 最新内容下载排行榜 ·VmBasic 源代.. ·小型的 C 语言编译.. ·VC++编的一个词法.. ·C++版 词法分析、.. ·编译原理词法分析的电.. · idel虚拟机源.. ·pl/0词法编译器,.. ·良好的C语言语法检查.. ·小型的 C 语言编译.. ·小的c编译器包括词法.. 文件名称: xdtools.zip下载 所属分类: 编译器/解释器 开发工具: C 文件大小: 189 KB 上传时间: 2004-10-28 下载次数: 15 提 供 者: 李可 详细介绍: 一个很好的编译工具!!! (2005-3-16,VB,422KB,下载0次)【向站长举报此文件和某个同类文件可能重复】-VB code set a C language analyzer .. Generation Pascal language .. Basic compiler based on the source .. 1 .. C syntax download the latest list VmBasic source substituting .. small C language compiler VC .. Part of a lexical .. C version of lexical analysis, .. compiler theory lexical analysis of electric .. Debido source Virtual Machine .. pl / 0 accidence compiler, .. good C language syntax check .. small C language compiler .. small c compiler including lexical .. file names : xdtools.zip download respective categories : compiler / interpreter development tools : C Size : 189 KB upload time : 2004-10-28 downloads : 15 providers : Li Long detailed presentations : a good compiler tool! ! ! (2005-3-16, VB, 422KB download 0) report to the head of this document and any similar document may r
Platform: | Size: 432310 | Author: 牛顿 | Hits:

[ELanguagefr.5823.0.compiler

Description: 词法/语法分析器bison源码,最新版本bison-2.1,,Unix_Linux0120310340817.rar...编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。...词法分析原程序对C语言可-lexical/grammatical analyzer bison source, the latest version bison- 2.1,, Unix_Linux0120310340817.rar compiler theory ... LR (0) Symbol France analyzer input legitimate LR (0) grammar, will output LR (0) analysis table, and can be imported to the sentence syntax analysis output corresponding syntax tree. ... Lexical analysis procedure to the original C language can be
Platform: | Size: 174080 | Author: malll | Hits:

[ELanguagecffxq

Description: 词法分析器,主要任务是把输入的字符串进行扫描和分解,识别出各种类型的单词符号产生于语法分析的词法记号序列。-Lexical analyzer, the main task is to scan the input string and decomposition, to identify various types of word symbols in the syntax analysis of the sequence of lexical tokens
Platform: | Size: 1009664 | Author: houbo | Hits:

[ELanguageYFFXQ

Description: 使用递归子程序法设计一个语法分析程序,自顶向下分析方法. 1、使用递归下降分析算法分析表达式文法: exp ::= exp addop term | term addop ::= + | - term ::= term mulop factor | factor mulop ::= * | / factor ::= (exp) | number 其中number可以是多位的十进制数字串(整数即可),因此这里还需要一个小的词法分析器来得到number的值。 2、该词法分析器以子程序形式出现,当需要进行词法分析时进行调用; 3、能够识别正确和错误的表达式; 4、在进行语法分析的过程中,计算输入表达式的值。 -Recursive subroutine method to design a syntax analysis program, top-down analysis. 1, using recursive descent parsing algorithm analysis of the expression grammar: exp:: = exp addop term | term addop:: =+ |- term:: = term mulop factor | factor mulop:: =* |/factor:: = (exp) | number of which is the number of decimal number can number string (integer can be), so here also need a small lexical analyzer to get the number value. 2, the lexical analyzer in subroutine form, when the need for lexical analysis of a call 3, able to recognize right and wrong expression 4, during the course of parsing, calculating import value of the expression.
Platform: | Size: 194560 | Author: 龙一 | Hits:

[ELanguagebian-yi-yuan-li-kechengsheji

Description: 编译原理课程设计:建立文法及其LL(1)分析表表示的数据结构,设计并实现相应的预测分析器,对源程序经词法分析后生成的二元式代码流进行预测分析,如果输入串是文法定义的句子则输出“输入串分析成功”,否则输出“输入串语法错误”。-Principles of Course Design Compiler: A Grammar and LL (1) of the table that the data structure, design and implement the corresponding prediction analyzer, on the source code generated by the lexical analysis to predict the binary type code flow analysis, if the input string is the definition of sentence grammar, the output " input string of success" , or output " input string syntax error."
Platform: | Size: 101376 | Author: | Hits:

[Data structsyufa

Description: 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析。 利用C语言编制递归下降分析程序,并对简单语言进行语法分析。 -The preparation of a recursive descent parser, lexical analyzer to achieve the sequence of words provided by the syntax check and structural analysis. Use of C language compiled recursive descent parser, and parsing simple language.
Platform: | Size: 3072 | Author: 冯景航 | Hits:

[Other resourceParser

Description: 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析-The preparation of a recursive descent parser, lexical analyzer to achieve the sequence of words provided by the syntax check and structural analysis
Platform: | Size: 11264 | Author: 贾明军 | Hits:

[Othercifafenxi

Description: c++编写的词法分析器,能够对简单的语法错误进行检测和报错!-written in c++ lexical analyzer can be a simple syntax error detection and error!
Platform: | Size: 915456 | Author: zhong | Hits:

[ELanguage20110915_src

Description: 建立一个针对LL(1)文法编译器的自动生成器。要完成此编译器的生成器需对源文件进行两遍处理:第一遍词法分析,第二遍语法分析。语法分析程序用LL(1)语法分析方法。首先输入定义好的文法书写文件(所用的文法可以用LL(1)分析),然后建立词法分析器,包括词法分析主程序、扫描器部分、关键字表等。经词法分析后分别计算所输入的文法的每个非终结符号的FIRST集合,每个非终结符号的FOLLOW集合,以及每个规则的SELECT集合,并判断任意一个非终结符号的任意两个规则的SELECT集的交集是不是都为空,如果是则输入文法符合LL(1)文法则可以进行分析。-For the establishment of a LL (1) grammar compiler automatic generator. To accomplish this compiler generator must deal with the source file twice: first pass lexical analysis, parsing the second time. Parser using LL (1) syntax analysis. First, write the input file defined grammar (grammar can be used in LL (1) analysis), and then create the lexical analyzer, including lexical analysis of the main program, scanner parts, keyword lists. The lexical analysis of the inputs were calculated for each non-terminal grammar symbol of the FIRST set of each non-terminal symbol FOLLOW set, and each set of the rule s SELECT and determine any non-terminal symbol of any two rules SELECT set intersection is not all empty, if it is in line with the input grammar LL (1) the text rule can be analyzed.
Platform: | Size: 37888 | Author: yin | Hits:

[ELanguagexin1

Description: 本代码涵盖了词法分析器,语法分析以及生成四元式。-This code covers the lexical analyzer, syntax analysis and generate the type of four yuan.
Platform: | Size: 4096 | Author: | Hits:

[ELanguageyufafenxi

Description: 通过设计、编制、调试一个典型的语法分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析,进一步掌握常用的语法分析方法。-A typical parser through the design, development, debugging, syntax checking and structural analysis of word sequences provided by the lexical analyzer, and further understand the syntax analysis method.
Platform: | Size: 841728 | Author: 瞿蛋蛋 | Hits:

[VC/MFCcifafenxi

Description: (1)设计符号表 确定符号表的组织方式,一般应包括名字栏和信息栏,其中名字栏作为关键字。要考虑能够存储有关名字的信息,并可以高效地完成如下操作: a.查找:根据给定的名字,在符号表中查找其信息。如果该名字在符号表中不存在,则将其加入到符号表中,否则返回指向该名字的指针; b.删除:从符号表中删除给定名字的表项。 (2)设计词法分析器(也可以使用FLEX生成词法分析器) 设计各单词的状态转换图,并为不同的单词设计种别码。将词法分析器设计成供语法分析器调用的子程序。功能包括: a. 能够拼出语言中的各个单词; b. 将拼出的标识符填入符号表; c. 返回(种别码, 属性值)。 (3)语法分析与中间代码产生器(也可以使用BISON生成语法分析程序)   要求用递归下降分析法、预测分析法或SLR分析法,实现对表达式、各种说明语句、控制语句进行语法分析。   若语法正确,则输出一棵语法树。   若语法错误,要求指出出错性质和出错位置(行号)。出错处理应设计成一个出错处理子程序。-(1) Design symbol table Determine the symbol table of organization, the general should include the name bar and bar, where the name column as a keyword. To be considered capable of storing information about the name, and the following operations can be efficiently completed: a find: Find its information according to the name given in the symbol table. If the name does not exist in the symbol table, then it is added to the symbol table, otherwise it returns a pointer to the name of the pointer Delete: delete the given name from the symbol table entry. (2) design of lexical analyzer (You can also use the FLEX generate the lexical analyzer) The design of each word in the state transition diagram, and a word design for different kind as code. The lexical analyzer is designed for the parser calls the subroutine. Features include: a. to spell out each word in the language b. spell identifier fill in the symbol table c. return (other code, attribute values). (3) syntax analysis an
Platform: | Size: 2048 | Author: 夏帆 | Hits:

[Successful incentivert

Description:  一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析-Preparation of a recursive descent parser, lexical analyzer to achieve word sequence provided by the syntax checking and structural analysis.
Platform: | Size: 4296704 | Author: 徐徐 | Hits:

[ELanguagecifafenxiqi

Description: 词法分析器。可以去掉// /**/注释,并分析简单的语法。-Lexical analyzer. Can be removed// /**/comment and analyze simple syntax.
Platform: | Size: 225280 | Author: 郭攀 | Hits:

[ELanguage3

Description: 将实验一“词法分析器”与实验二“语法分析器”之间的衔接方式由独立一遍改为独立子程序。   于语法正确的表达式,报告“语法正确”;   对于语法错误的表达式,报告“语法错误”, 指出错误原因。 -The Cohesion experiment " lexical analyzer" and Experiment II " parser" between independent again to separate subroutine. Grammatically correct expressions in the report " grammatically correct" expression for syntax errors, the report " Syntax Error" , pointed out the wrong reasons.
Platform: | Size: 5414912 | Author: 盛俊 | Hits:

[Windows DevelopcYUYANCIFAFENXI

Description: 用C语言编写一个PL/0词法分析器(约定所有字符均为小写,不包含大写字符),为语法语义分析提供单词,使之能把输入的字符串形 式的源程序分割成一个个单词符号传递给语法语义分析,并把分析结果(基本字,运算 符,标识符,常数以及界符)-Using C language to write a PL/0 lexical analyzer (agreed all characters are lowercase, uppercase characters not included), with words for grammatical and semantic analysis, which can put the string input Split the source program into an analysis of transfer of each word symbol to the syntax and semantics, and the analysis results (basic word, operation Fu, identifiers, constants and bound)
Platform: | Size: 16384 | Author: sdf | Hits:

[File Operateanalyse

Description: 用c++编写的一个简单的语义、语法和词法分析器,通过测试,附带实验报告-Using c++ to write a simple semantics, syntax and lexical analyzer, through testing, with test report
Platform: | Size: 2655232 | Author: | Hits:

[OtherLL

Description: 利用LL分析方法实现的语法分析器。语法分析器(Parser)通常是作为编译器或解释器的组件出现的,它的作用是进行语法检查、并构建由输入的单词组成的数据结构(一般是语法分析树、抽象语法树等层次化的数据结构)。语法分析器通常使用一个独立的词法分析器从输入字符流中分离出一个个的“单词”,并将单词流作为其输入。-LL-implemented method of analysis utilizing the parser. Parser (Parser) is often used as a compiler or interpreter component appears, it is the role of syntax checking, and build a data structure composed by word input (usually parse tree, abstract syntax trees hierarchy data structure). Parser typically use a separate lexical analyzer separated one by one " word" character the input stream, and the stream of words as its input.
Platform: | Size: 235520 | Author: 周慕白 | Hits:
« 1 2 34 »

CodeBus www.codebus.net